package com.masterclient.app.businessmodule.vipmodule.card;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.masterclient.app.R;
import com.masterclient.app.businessmodule.vipmodule.bean.Order;
import com.masterclient.app.businessmodule.vipmodule.view.OrderView;

import butterknife.BindView;


/**
 * 零售订单-已完成
 */
public class OrderYwcCard extends IBaseCard<Order> {
    @BindView(R.id.orderViwe)
    OrderView orderViwe;
    @BindView(R.id.daozhang_tv)
    TextView daozhangTv;

    public OrderYwcCard(View itemView, Context context) {
        super(itemView, context);
    }

    @Override
    public void onBindViewHolder(Order order, int i) {
        orderViwe.setOrder(order);
        daozhangTv.setText("¥"+order.getOrder().getArrival_amount());
    }
}
